﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Setting.ascx.cs" Inherits="Admin_Setting_Setting" %>
<%@ Register Src="../../Common/Alert.ascx" TagName="Alert" TagPrefix="uc1" %>

<div> <uc1:Alert ID="Alert1" runat="server" /></div>
<div style ="padding:5px 0 0px 0 "><asp:Label ID="lblDefaultLanguage" runat ="server"  Width="130px"   CssClass="text" Font-Bold="true" Font-Size="13px"></asp:Label>
    <asp:DropDownList ID="ddlDefaultLanguage" runat="server" CssClass="boxnormal"  >
    </asp:DropDownList></div>
    <hr style="margin-bottom:16px; margin-top:16px;"/>
    <div style ="padding:5px 0 0px 0 "><asp:Label ID="lblLanguage" runat ="server"  Width="130px"   CssClass="text" Font-Bold="true" Font-Size="13px"></asp:Label>
    <asp:DropDownList ID="ddlLanguage" runat="server" CssClass="boxnormal"  AutoPostBack ="true"
            onselectedindexchanged="ddlLanguage_SelectedIndexChanged"  >
    </asp:DropDownList></div>
    <hr style="margin-bottom:8px; margin-top:8px; border:0px;"/>
    <div style ="padding:5px 0 0px 0 "><asp:Label ID="lblCompanyName" runat ="server" Width="130px"  CssClass="text" Font-Bold="true" Font-Size="13px"></asp:Label>
    <asp:TextBox ID="txtCompanyName" runat ="server" CssClass="boxlongest"  MaxLength="250" Width="572px" ValidationGroup="Input"></asp:TextBox><span style="color: #ff3333">*</span>
    </div>
    <div style ="padding:5px 0 0px 0 "><asp:Label ID="lblAddress" runat ="server" 
            Width="130px"  CssClass="text" Font-Bold="True" Font-Size="13px"></asp:Label>
    <asp:TextBox ID="txtAddress" runat ="server" CssClass="boxlongest" Width="572px"
            MaxLength="250"  ValidationGroup="Input"></asp:TextBox><span style="color: #ff3333">*</span>
    </div>
    <div style ="padding:5px 0 5px 0 "><asp:Label ID="lblHotline" runat ="server" 
            Width="130px"  CssClass="text" Font-Bold="True" Font-Size="13px"></asp:Label>
    <asp:TextBox ID="txtHotline" runat ="server" CssClass="boxlong"  MaxLength="250"  ></asp:TextBox>
    <asp:Label ID="lblTel" Width="130px" runat ="server" CssClass="text" Font-Bold="True" Font-Size="13px"></asp:Label>
    <asp:TextBox ID="txtTel" runat ="server" CssClass="boxlong"  MaxLength="250"></asp:TextBox>
    </div>

    <div style ="padding:5px 0 5px 0 "><asp:Label ID="lblFax" runat ="server" Width="130px"  CssClass="text" Font-Bold="True" Font-Size="13px"></asp:Label>
    <asp:TextBox ID="txtFax" runat ="server" CssClass="boxlong"  MaxLength="250"  ></asp:TextBox>
    <asp:Label ID="lblEmail" runat ="server" Width="130px" CssClass="text" Font-Bold="True" Font-Size="13px"></asp:Label>
    <asp:TextBox ID="txtEmail" runat ="server" CssClass="boxlong"  MaxLength="250" ValidationGroup="Input" ></asp:TextBox>
    </div>
<%--  <div style ="padding:5px 0 0px 0 "  ><asp:Label ID="lblAddress" runat ="server"  Width="130px" CssClass="text" Font-Bold="true" Font-Size="13px"></asp:Label>
    <asp:TextBox ID="txtAddress" runat ="server" CssClass="boxlongest"  MaxLength="250"  ></asp:TextBox>
    </div>--%>
    <%--      <div style ="padding:5px 0 0px 0 " ><asp:Label ID="lblTel" runat ="server"  Width="130px"  CssClass="text" Font-Bold="true" Font-Size="13px"></asp:Label>
    <asp:TextBox ID="txtTel" runat ="server" CssClass="boxnormal"  MaxLength="250"  ></asp:TextBox>
    <asp:Label ID="lblFax" runat ="server"   CssClass="text" Font-Bold="true" Font-Size="13px"></asp:Label>
    <asp:TextBox ID="txtFax" runat ="server" CssClass="boxnormal"  MaxLength="250"  ></asp:TextBox>
   <asp:Label ID="lblHotline" runat ="server"  CssClass="text" Font-Bold="true" Font-Size="13px"></asp:Label>
    <asp:TextBox ID="txtHotline" runat ="server" CssClass="boxnormal"  MaxLength="250"  ></asp:TextBox>
    </div>--%>
    <%--  <div style ="padding:5px 0 5px 0 " ><asp:Label ID="lblEmail" runat ="server"  Width="130px"  CssClass="text" Font-Bold="true" Font-Size="13px"></asp:Label>
    <asp:TextBox ID="txtEmail" runat ="server" CssClass="boxlong"  MaxLength="250"  ></asp:TextBox>
    <asp:Label ID="lblWebsite" runat ="server"  CssClass="text" Font-Bold="true" Font-Size="13px"></asp:Label>
    <asp:TextBox ID="txtWebsite" runat ="server" CssClass="boxlong"  MaxLength="250"  ></asp:TextBox>
    </div>
--%>
    <hr style="margin-bottom:8px; margin-top:8px; border:0px;"/>
    <div style ="padding:5px 0 0px 0 ">
         <asp:Label ID="lblBranchCompanyName" 
             runat ="server"  Width="130px" CssClass="text" 
             Font-Bold="True" Font-Size="13px"></asp:Label>
    <asp:TextBox ID="txtBranchCompanyName" runat ="server" CssClass="boxlongest"  MaxLength="250" Width="572px"></asp:TextBox>
    </div>
    <div style ="padding:5px 0 0px 0 ">
        <asp:Label ID="lblBranchAddress" runat ="server" 
            Width="130px"  CssClass="text" Font-Bold="True" Font-Size="13px"></asp:Label>
    <asp:TextBox ID="txtBranchAddress" runat ="server" CssClass="boxlongest"  
            MaxLength="250" Width="572px" ></asp:TextBox>
    </div>
    <div style ="padding:5px 0 5px 0 ">
        <asp:Label ID="lblBranchHotline" runat ="server" 
            Width="130px"  CssClass="text" Font-Bold="True" Font-Size="13px"></asp:Label>
    <asp:TextBox ID="txtBranchHotline" runat ="server" CssClass="boxlong"  MaxLength="250"  ></asp:TextBox>
        <asp:Label ID="lblBranchTel" runat ="server" 
            Width="130px"  CssClass="text" Font-Bold="True" Font-Size="13px"></asp:Label>
    <asp:TextBox ID="txtBranchTel" runat ="server" CssClass="boxlong"  MaxLength="250"></asp:TextBox>
    </div>
    <div style ="padding:5px 0 5px 0 ">
        <asp:Label ID="lblBranchFax" runat ="server" 
            Width="130px"  CssClass="text" Font-Bold="True" Font-Size="13px"></asp:Label>
    <asp:TextBox ID="txtBranchFax" runat ="server"  CssClass="boxlong"  MaxLength="250"  ></asp:TextBox>
        <asp:Label ID="lblBranchEmail" runat ="server" 
            Width="130px"  CssClass="text" Font-Bold="True" Font-Size="13px"></asp:Label>
    <asp:TextBox ID="txtBranchEmail" runat ="server"  CssClass="boxlong"  MaxLength="250" ValidationGroup="Input"></asp:TextBox>
    </div>
    <hr style="margin-bottom:16px; margin-top:16px;"/>
<%--   <div style ="padding:5px 0 0px 0 "><asp:Label ID="Label1" runat ="server" Text="Địa chỉ (CN)"  Width="130px" CssClass="text" Font-Bold="true" Font-Size="13px"></asp:Label>
    <asp:TextBox ID="txtBranchAddress" runat ="server" CssClass="boxlongest"  MaxLength="250"  ></asp:TextBox>
    </div>--%><%--   <div style ="padding:5px 0 0px 0 " ><asp:Label ID="Label2" runat ="server" Text="Tel (CN)"  Width="130px"  CssClass="text" Font-Bold="true" Font-Size="13px"></asp:Label>
    <asp:TextBox ID="txtBranchTel" runat ="server" CssClass="boxnormal"  MaxLength="250"  ></asp:TextBox>
    <asp:Label ID="Label3" runat ="server" Text="Fax (CN)"  CssClass="text" Font-Bold="true" Font-Size="13px"></asp:Label>
    <asp:TextBox ID="txtBranchFax" runat ="server" CssClass="boxnormal"  MaxLength="250"  ></asp:TextBox>
    <asp:Label ID="Label4" runat ="server" Text ="Hotline (CN)"  CssClass="text" Font-Bold="true" Font-Size="13px"></asp:Label>
    <asp:TextBox ID="txtBranchHotline" runat ="server" CssClass="boxnormal"  MaxLength="250"  ></asp:TextBox>
    </div>--%><%--  <div style ="padding:5px 0 5px 0 "  ><asp:Label ID="Label5" runat ="server" Text="Email (CN)"  Width="130px"  CssClass="text" Font-Bold="true" Font-Size="13px"></asp:Label>
    <asp:TextBox ID="txtBranchEmail" runat ="server" CssClass="boxlong"  MaxLength="250"  ></asp:TextBox>
   
    </div>--%>
     <div style ="padding:5px 0 5px 0 "><asp:Label ID="lblYahoo1" runat ="server" 
             Width="130px"  CssClass="text" Font-Bold="True" Font-Size="13px"></asp:Label>
    <asp:TextBox ID="txtYahoo1" runat ="server" CssClass="boxlong"  MaxLength="250"  ></asp:TextBox>
    <asp:Label ID="lblYahoo2" runat ="server" Width="130px"  CssClass="text" Font-Bold="True" Font-Size="13px"></asp:Label>
    <asp:TextBox ID="txtYahoo2" runat ="server" CssClass="boxlong"  MaxLength="250"  ></asp:TextBox>
    </div>

      <div style ="padding:5px 0 5px 0 "><asp:Label ID="lblYahoo3" runat ="server" 
              Width="130px"  CssClass="text" Font-Bold="True" Font-Size="13px"></asp:Label>
    <asp:TextBox ID="txtYahoo3" runat ="server" CssClass="boxlong"  MaxLength="250"  ></asp:TextBox>
    <asp:Label ID="lblYahoo4" runat ="server" Width="130px"  CssClass="text" Font-Bold="True" 
              Font-Size="13px"></asp:Label>
    <asp:TextBox ID="txtYahoo4" runat ="server" CssClass="boxlong"  MaxLength="250"  ></asp:TextBox>
    </div>
    <hr style="margin-bottom:8px; margin-top:8px; border:0px;"/>
    <div style ="padding:5px 0 5px 0 ">
        <asp:Label ID="lblSkype1" runat ="server" 
             Width="130px"  CssClass="text" Font-Bold="True" Font-Size="13px"></asp:Label>
    <asp:TextBox ID="txtSkype1" runat ="server" CssClass="boxlong"  MaxLength="250"  ></asp:TextBox>
    <asp:Label ID="lblSkype2" runat ="server" Width="130px" CssClass="text" Font-Bold="True" 
             Font-Size="13px"></asp:Label>
    <asp:TextBox ID="txtSkype2" runat ="server" CssClass="boxlong"  MaxLength="250"  ></asp:TextBox>
    </div>
      <div style ="padding:5px 0 5px 0 ">
          <asp:Label ID="lblSkype3" runat ="server" 
              Width="130px"  CssClass="text" Font-Bold="True" Font-Size="13px"></asp:Label>
    <asp:TextBox ID="txtSkype3" runat ="server" CssClass="boxlong"  MaxLength="249"  ></asp:TextBox>
    <asp:Label ID="lblSkype4" runat ="server" Width="130px" CssClass="text" Font-Bold="True" 
              Font-Size="13px"></asp:Label>
    <asp:TextBox ID="txtSkype4" runat ="server" CssClass="boxlong"  MaxLength="250"  ></asp:TextBox>
    </div>
    <hr style="margin-bottom:8px; margin-top:8px; border:0px;"/>
    <div style ="padding:5px 0 5px 0 "><asp:Label ID="lblWebsite" runat ="server"  Width="130px"  CssClass="text" Font-Bold="true" Font-Size="13px"></asp:Label>
    <asp:TextBox ID="txtWebsite" runat ="server" CssClass="boxlongest"  MaxLength="249" Width="572px" ></asp:TextBox>
    </div>
     <div style ="padding:5px 0 5px 0 "><asp:Label ID="lblFotter" runat ="server"  Width="130px"  CssClass="text" Font-Bold="true" Font-Size="13px"></asp:Label>
    <asp:TextBox ID="txtFooter" runat ="server" CssClass="boxlongest"  MaxLength="249" Width="572px" ></asp:TextBox>
    </div>
<div style ="padding:5px 0 5px 0 "><asp:Label ID="lblMetaKeyword" runat ="server"   CssClass="text" Font-Bold="true" Font-Size="13px"></asp:Label>&nbsp;</div>
<div><asp:TextBox ID="txtMetaKeyword"  CssClass="textbox_multiline" Height="70px" runat ="server" TextMode="MultiLine" MaxLength="3999"    ></asp:TextBox> </div>
<div style ="padding:5px 0 5px 0 "><asp:Label ID="lblMetaDescription" runat ="server"   CssClass="text" Font-Bold="true" Font-Size="13px"></asp:Label></div>
<div><asp:TextBox ID="txtMetaDescription"  CssClass="textbox_multiline" Height="70px" runat ="server" TextMode="MultiLine" MaxLength="3999"    ></asp:TextBox> </div>
<div>
    <asp:Button ID="btnSave" runat ="server" ValidationGroup="Input"  Width="80px" 
        OnClick="btnSave_Click" Height="26px"  /> 
</div>

<asp:RequiredFieldValidator ID="rfvCompanyName" runat="server" SetFocusOnError="true"   ControlToValidate="txtCompanyName" Display="None" ValidationGroup="Input" Text="*"></asp:RequiredFieldValidator>
<asp:RequiredFieldValidator ID="rfvAddress" runat="server" SetFocusOnError="true"   ControlToValidate="txtAddress" Display="None" ValidationGroup="Input" Text="*"></asp:RequiredFieldValidator>
<asp:RegularExpressionValidator 
            ID="revEmail" 
            runat="server" 
            ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" 
            ControlToValidate="txtEmail" 
            Display="None" 
            ValidationGroup="Input" 
            SetFocusOnError="True" 
            Text="*">
</asp:RegularExpressionValidator>
<asp:RegularExpressionValidator 
            ID="revBranchEmail" 
            runat="server" 
            ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" 
            ControlToValidate="txtBranchEmail" 
            Display="None" 
            ValidationGroup="Input" 
            SetFocusOnError="True" 
            Text="*">
</asp:RegularExpressionValidator>
<asp:ValidationSummary ID="ValidationSummary4" ShowMessageBox="true" runat="server" ValidationGroup="Input" ShowSummary="False" />